package com.ruoyi.project.loans.loansLog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 贷款记录表 t_loans_log
 * 
 * @author ruoyi
 * @date 2020-06-17
 */
public class LoansLog extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 借款人 */
	private String loanBorrower;
	/** 借款金额 */
	private BigDecimal loanAmounts;
	/** 借款渠道 */
	private Integer loanPlace;
	/** 借多久 */
	private Integer loanHowLong;
	/** 借款时间 */
	private Date loanTime;
	/** 借款利率 */
	private BigDecimal loanRate;
	/** 还款方式 */
	private Integer paymentMethod;
	//payment_day
	/** 还款方式 */
	private Integer paymentDay;
	/** 借款利息 */
	private BigDecimal loanInterest;
	/** 借款用途 */
	private Integer loanUse;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLoanBorrower() {
		return loanBorrower;
	}

	public void setLoanBorrower(String loanBorrower) {
		this.loanBorrower = loanBorrower;
	}

	public BigDecimal getLoanAmounts() {
		return loanAmounts;
	}

	public void setLoanAmounts(BigDecimal loanAmounts) {
		this.loanAmounts = loanAmounts;
	}

	public Integer getLoanPlace() {
		return loanPlace;
	}

	public void setLoanPlace(Integer loanPlace) {
		this.loanPlace = loanPlace;
	}

	public Integer getLoanHowLong() {
		return loanHowLong;
	}

	public void setLoanHowLong(Integer loanHowLong) {
		this.loanHowLong = loanHowLong;
	}

	public Date getLoanTime() {
		return loanTime;
	}

	public void setLoanTime(Date loanTime) {
		this.loanTime = loanTime;
	}

	public Integer getPaymentMethod() {
		return paymentMethod;
	}

	public void setPaymentMethod(Integer paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public BigDecimal getLoanInterest() {
		return loanInterest;
	}

	public void setLoanInterest(BigDecimal loanInterest) {
		this.loanInterest = loanInterest;
	}

	public Integer getLoanUse() {
		return loanUse;
	}

	public void setLoanUse(Integer loanUse) {
		this.loanUse = loanUse;
	}

	public BigDecimal getLoanRate() {
		return loanRate;
	}

	public void setLoanRate(BigDecimal loanRate) {
		this.loanRate = loanRate;
	}

	public Integer getPaymentDay() {
		return paymentDay;
	}

	public void setPaymentDay(Integer paymentDay) {
		this.paymentDay = paymentDay;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loanBorrower", getLoanBorrower())
            .append("loanAmounts", getLoanAmounts())
            .append("loanPlace", getLoanPlace())
            .append("loanHowLong", getLoanHowLong())
            .append("loanTime", getLoanTime())
			.append("loanRate", getLoanRate())
            .append("paymentMethod", getPaymentMethod())
			.append("paymentDay", getPaymentDay())
            .append("loanInterest", getLoanInterest())
            .append("loanUse", getLoanUse())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
